﻿
@model MembershipUserCollection

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@foreach (MembershipUser user in Model)
{
    var roles = Roles.GetRolesForUser(user.UserName);
    <p>
        @user.UserName
        <br />
        @foreach (var role in roles)
            {
            <span>@role</span> @:,
            }
    </p>
}